how to fix automatic repair loop